<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

	<title>Simple example - Node.js, Restify, MongoDb and Mongoose</title>
	<meta name="viewport" content="width=device-width,initial-scale=1">
	<meta name="description" content="">
	<link rel="stylesheet" href="css/styles.css">

	<script data-main="js/main" src="js/libs/require/require.js"></script>
</head>
<body>
  <!--Initially populated by templates/layout.html -->
   <div class="about">
  	<h1>Simple example - Node.js, Restify, MongoDb and Mongoose</h1>
  	<p>
  		 Simple is a relative term. It may seem simple compared to the complexity of the end application or building anything with Java but to the n00b developer it will most likely be pretty challenging and the concepts are difficult to wrap your head around. I wanted to learn how to create a server with node that could serve up html, css, js, and then persist data to mongodb. I imagine you are here for a similar reason. 
  	</p>
  	<p>Check list</p>
  	<ol>
  		 <li>Have you installed and started mongodb in your terminal window? type: mongod</li>
  		 <li>Have you opened a second terminal window and created a sample message in the messages collection of your local mongodb database?</li>
       <li>After creating a sample message, you should start your server.js by typing: node server</li>
  	</ol>
  	<h2>Messages</h2>
  </div>

  <div class="container"></div>

  <div class="resources">
  	<p>
  		If you start to see your messages build up in the Message box above, congratulations! You've successfully setup this simple demo. 
    </p>
  </div>

</body>
</html> 
